home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / stars / stars.man < prev   
Text File  |  1995-05-09  |  2KB  |  32 lines

  1. usage()
  2. {
  3.     fprintf(stderr,"stars [-AMXruw][-B[0123]][-a#][-b#][-c#][-d#][-x xmid][-y ymid][-H#][-W#]\n");
  4.     fprintf(stderr,"\tWhere: -M indicates use monochrome\n");
  5.     fprintf(stderr,"\t       -S indicates show midpt\n");
  6.     fprintf(stderr,"\t       -X indicates randomly walk the midpt\n");
  7.     fprintf(stderr,"\t       -r indicates put the ship in reverse\n");
  8.     fprintf(stderr,"\t       -u displays this message\n");
  9.     fprintf(stderr,"\t       -w indicates put the ship in warp\n");
  10.     fprintf(stderr,"\t       -B# specifies the initial star size\n");
  11.     fprintf(stderr,"\t       -H# specifies the initial window height\n");
  12.     fprintf(stderr,"\t       -W# specifies the initial window width\n");
  13.     fprintf(stderr,"\t       -a# specifies the inital 'x' velocity\n");
  14.     fprintf(stderr,"\t       -b# specifies the inital 'y' velocity\n");
  15.     fprintf(stderr,"\t       -c# specifies the star color\n");
  16.     fprintf(stderr,"\t       -d# specifies the duration of display\n");
  17.     fprintf(stderr,"\tDuring display :\n");
  18.     fprintf(stderr,"\t  [hjklHJKL] rogue-like control of midpt movement\n");
  19.     fprintf(stderr,"\t        '.' stops the motion of the midpt\n");
  20.     fprintf(stderr,"\t        '+' resets the midpt to screen center\n");
  21.     fprintf(stderr,"\t  '>'or '<' increases/decreases the delay (text mode)\n");
  22.     fprintf(stderr,"\t     b or B selects star size\n");
  23.     fprintf(stderr,"\t     c or C toggles all/one color (graphics mode only)");
  24.     fprintf(stderr,"\n\t     t or T toggles random walk of midpt\n");
  25.     fprintf(stderr,"\t     x or X clears the screen\n");
  26.     fprintf(stderr,"\t     r or R toggles reverse/forward\n");
  27.     fprintf(stderr,"\t     s or S toggles midpt display\n");
  28.     fprintf(stderr,"\t     w or W toggles warp/normal\n");
  29.     fprintf(stderr,"\t     q or Q exits\n");
  30.     exit(1);
  31. }
  32.